<script lang="ts" setup>
import CartMain from './components/CartMain.vue'
console.log(uni.getSystemInfoSync())

const { windowHeight, safeAreaInsets } = uni.getSystemInfoSync()
console.log(windowHeight)
console.log(safeAreaInsets)

const height = windowHeight - safeAreaInsets!.bottom
</script>

<template>
  <CartMain type="common" :style="{ height: height + 'px' }" />
</template>

<style></style>
